package mapper;

import java.util.List;

import entity.Blog;
import entity.Page;
import entity.User;
import entity.UserInfo;

import annotation.MyBatisRepository;

@MyBatisRepository
public interface UserMapper {
	
	public List<User> query();
	public UserInfo getUserInfo(int userId);
	public List<UserInfo> getUserInfoList(Page page);
	public UserInfo getUserInfo2(int userId);
	public User getUser(int id);
	public void saveUser(User user);
	public void saveUserInfo(UserInfo info);
	public void saveBlog(Blog blog);
	public User getUseWithBlogById(int userId);
	
	
}
